#ifndef _SIG_H_
#define _SIG_H_

#define BLOCK_LENGTH 1000

struct block_info {
  int length;
  int file_NO;
  int offect;
};

typedef block_info block_info_t;

#ifdef WIN32
#include <stdio.h>
//#include <unistd.h>
#include <io.h>
#include <direct.h>
#include <Windows.h>
#elif LINUX
#include <stdio.h>
#include <unistd.h>
#endif


#ifdef WIN32
#define ACCESS _access
#define MKDIR(a)  _mkdir((a))
#elif LINUX
#define ACCESS access
#define MKDIR(a) mkdir((a),0755)
#endif


#endif